#coding:utf-8
#try/finally 
def mul(a,b):
    if a<b:
        #raise抛出异常
        raise BaseException('被减数不能小于减数')
    else:
        return a-b
try: 
    print(mul(0,3)) #此处会抛出BaseException
    print('try里的打印！') #上面有异常，此处不会执行
except BaseException as e:
    print(e)
finally:
    print('finally里的打印！')